﻿if exists (select * from dbo.sysobjects where name = 'sp_tb_User_Service_GetById')
	drop procedure [dbo].[sp_tb_User_Service_GetById]
Go 
CREATE PROCEDURE dbo.sp_tb_User_Service_GetById
@Username	varchar(50),
@ServiceId	int,
@ServiceId	int
AS
SELECT * FROM tb_User_Service WHERE  Username= @Username AND ServiceId= @ServiceId AND ServiceId= @ServiceId
Go